package org.springblade.modules.monitor.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "DatabaseInfo对象", description = "DatabaseInfo对象")
public class DatabaseInfo {

	@ApiModelProperty(value = "ip")
	private String ip;

	@ApiModelProperty(value = "数据库名称")
	private String name;

	@ApiModelProperty(value = "数据库状态 1：正常 0：异常")
	private Integer status;

	@ApiModelProperty(value = "端口号")
	private Integer port;

	@ApiModelProperty(value = "数据库类型")
	private String kind;

	@ApiModelProperty(value = "数据库版本")
	private String version;


	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public DatabaseInfo() {
	}

	public DatabaseInfo(String ip, String name, Integer status, Integer port, String kind, String version) {
		this.ip = ip;
		this.name = name;
		this.status = status;
		this.port = port;
		this.kind = kind;
		this.version = version;
	}
}
